$(function () {
    /*查询订单*/
    $('.search').on('click',function(){
        search();
    });
    
    $('#search').keydown(function (e) {
        if (e.keyCode == 13) {
            search();
        }
    });
});

/*搜索*/
function search(){
    var key_search = $('#search').val();
    var url = '?m=index-Order&do=index&search=' + key_search;
    redir_url(url);
}


